package com.zlll.winner.business.service.todayHot;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zlll.winner.business.model.sysUser.SysUser;
import com.zlll.winner.business.model.todayHot.TodayHot;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 今日热点 服务类
 * </p>
 *
 * @author qsx
 * @since 2019-09-11
 */
public interface ITodayHotService extends IService<TodayHot> {
    boolean saveTodayHot(TodayHot todayHot, SysUser user);
    boolean updateTodayHot(TodayHot todayHot, SysUser user);
    IPage<TodayHot> getTodayHotList(String title,Long startTime,Long endTime,Integer pageSize,Integer pageNo);
    IPage<TodayHot> getTodayHotList(Integer pageSize,Integer pageNo);

    boolean deleteTodayHot(Long id, SysUser user);
}
